package com.example.evaluationserver.params;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class EvaluationParams {
    @ApiModelProperty(value="id", example = "主键")
    private String id;
    @ApiModelProperty(value="发送id", example = "1", required = true)
    private String postId;
    @ApiModelProperty(value="接受id", example = "1", required = true)
    private String getId;
    @ApiModelProperty(value="订单id", example = "1", required = true)
    private String orderId;
    @ApiModelProperty(value="评价等级", example = "1", required = true)
    private int rating;
    @ApiModelProperty(value="内容", example = "真不错", required = true)
    private String context;
}
